export const PAGE_CODE = 'dcs-parts-partClaim';
import {PAGE} from '../constants';

export const DEFAULT_QUERY_OPTION = {
    dealerId: '',
    brandId: '',
    invoiceCode: '',
    code: '',
    claimType: undefined,
    status: undefined,
    paymentMethod: undefined,
    approverTime: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'createTime',
    isDesc: true
};
// 操作权限
export const PERMISSION = {
    add: 'add',
    update: 'update',
    submit: 'submit',
    approve: 'approve',
    abandon: 'abandon',
    export: 'export',
    hisOrder: 'hisOrder'
};

export const DEFAULT_QUERY_OPTION_HIS = {
    dealerId: '',
    code: '',
    status: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'createTime',
    isDesc: true
};
